<?
class iMVC_DB_Mysql extends iMVC_DB_Abstract{

    private $mysqli; 

    function __construct($host,$user,$pass,$db){

        $this->mysqli=new Mysqli($host,$user,$pass,$db);
        if($this->mysqli->error){
            echo "error";    
        
        }
    }
    public function getDbWriter(){
    
        return new iMVC_DB_Mysql_Writer($this->mysqli); 
    }

    public function getDbReader(){

        return new iMVC_DB_Mysql_Reader($this->mysqli); 
    
    
    }



}


// vim600:ts=4 st=4 foldmethod=marker foldmarker=<<<,>>>
// vim600:syn=php commentstring=//%s
